package org.example.Entity;

public class NameInfo {
    private int nameId;
    private String name;
    private int classId; // 班级ID
    private int studentId; // 学生ID
    private int groupId; // 组ID
    private String imageUrl; // 图片URL

    public int getCourseId() {
        return courseId;
    }

    public void setCourseId(int courseId) {
        this.courseId = courseId;
    }

    private int courseId;

    public NameInfo(int nameId, String name, int classId, int studentId, int groupId, String imageUrl, int courseId) {
        this.nameId = nameId;
        this.name = name;
        this.classId = classId;
        this.studentId = studentId;
        this.groupId = groupId;
        this.imageUrl = imageUrl;
        this.courseId = courseId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getNameId() {
        return nameId;
    }

    public void setNameId(int nameId) {
        this.nameId = nameId;
    }

    public int getClassId() {
        return classId;
    }

    public void setClassId(int classId) {
        this.classId = classId;
    }

    public int getStudentId() {
        return studentId;
    }

    public void setStudentId(int studentId) {
        this.studentId = studentId;
    }

    public int getGroupId() {
        return groupId;
    }

    public void setGroupId(int groupId) {
        this.groupId = groupId;
    }

    public String getImageUrl() {
        return imageUrl;
    }

    public void setImageUrl(String imageUrl) {
        this.imageUrl = imageUrl;
    }
}